home *** CD-ROM | disk | FTP | other *** search
- .key param
-
- ;here is DP Managing 2.21 script installation
-
- ;Author : David Scrève
- ;Version : 2.21
- ;Revision : 6.52
- ;Date : 92-09-16
- ;size : 3491 Bytes
-
- ; CopyRight David Scrève © 1992
- Failat 20
-
- ;this script must be execute from DF0: with a complete OS 2.04
-
- echo "Installing DP Managing 2.21 in : "<param>
- echo "CopyRight David Scrève © 1992"
- Ask "Are you sure you want to continue (Y/N) ?"
- if WARN
- Version >NIL: exec.library 37
- If WARN
- Echo "DP Managing requires un Kickstart V37 or higher : Can't install DP Managing."
- echo "Installation canceled..."
- else
- Version >NIL: LIBS:powerpacker.library
- If NOT ERROR
- Echo "Version of powerpacker.library already installed :"
- Version LIBS:powerpacker.library
- Echo ""
- Endif
- Ask "Install powerpacker.library version 35.274 ?"
- If WARN
- Copy :libs/powerpacker.library LIBS:powerpacker.library
- Echo "*npowerpacker.library 35.274 copied in directory LIBS:"
- Endif
- Version >NIL: LIBS:reqtools.library
- If NOT ERROR
- Echo "Version of reqtools.library already installed :"
- Version LIBS:reqtools.library
- Echo ""
- EndIf
- Ask "Install special version Kickstart 2.0 of reqtools.library (37.726) ?"
- If WARN
- Copy ":libs/reqtools.library" LIBS:reqtools.library
- Avail >NIL: FLUSH
- Echo "*nreqtools.library (version for 2.0) installed."
- EndIf
- Avail >NIL: FLUSH
- cd "<param>"
-
- makedir "DP Managing" >Nil:
- copy df0:Icon/directory.info "DP Managing.info"
- cd "DP Managing"
- copy df0:muchmore c:muchmore
- copy "df0:documentation/DP Managing.English.info" "DP Managing.doc.info"
- copy "df0:documentation/DP Managing.English" "DP Managing.doc"
- copy "df0:UserStyle.doc" "UserStyle.doc"
- copy "df0:UserStyle.doc.info" "UserStyle.doc.info"
- copy "df0:UpDate/2.21 UpDate.English" "2.21 Update.doc"
- copy "df0:UpDate/2.21 UpDate.English.info" "2.21 UpDate.doc.info"
- copy "df0:Icon/DPManaging_English.info" "DP Managing.info"
- makedir Adherent >Nil:
- makedir Disque >Nil:
- makedir Categorie >NIL:
- makedir Tempdir >NIL:
- cpu check 68030 >NIL:
- if NOT WARN
- echo "MC 68030 détected"
- cpu check 68882 >NIL:
- if NOT WARN
- echo "FPU coprocessor MC 68882 détected"
- Ask "Install special version compiled for 68030/68882 (Y/N) ?"
- if WARN
- rename "DP Managing.info" "DP Managing 030.info"
- copy "df0:DPManaging 2.21-030" "DP Managing 030"
- else
- echo "No FPU coprocessor MC 68882 détected"
- echo "Install normal version compiled for MC 68000..."
- copy "df0:DPManaging 2.21" "DP Managing"
- endif
- else
- echo "No FPU coprocessor MC 68882 détected"
- echo "Install normal version compiled for MC 68000..."
- copy "df0:DPManaging 2.21" "DP Managing"
- endif
- else
- echo "No MC 68030 détected"
- echo "Install normal version compiled for MC 68000..."
- copy "df0:DPManaging 2.21" "DP Managing"
- Endif
- echo "Installation complete."
- Endif
- else
- echo "Installation canceled..."
- endif
-
-